package es.mllacer.qqsm.dialogs;

import android.app.AlertDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import es.mllacer.qqsm.R;

public class CreditsDialog extends DialogFragment {

	public static DialogFragment getInstance() {
		return new CreditsDialog();
	}

	public Dialog onCreateDialog(Bundle savedInstanceState) {
		AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
		LayoutInflater inflater = getActivity().getLayoutInflater();
		builder.setView(inflater.inflate(R.layout.credits_layout, null));
		return builder.create();
	}

}
